import DirectionSubStateMachine from "../../../Base/DirectionSubStateMachine";
import State from "../../../Base/State";
import { StateMachine } from "../../../Base/StateMachine";
import { DIRECTION_ENUM } from "../../../Enums";

const BASE_PATH = 'texture/door/death'

export default class DeathSubStateMachine extends DirectionSubStateMachine {

  constructor(fsm: StateMachine) {
    super(fsm)
    this.stateMachines.set(DIRECTION_ENUM.UP, new State(fsm,`${BASE_PATH}`))
    this.stateMachines.set(DIRECTION_ENUM.DOWN,new State(fsm,`${BASE_PATH}`))
    this.stateMachines.set(DIRECTION_ENUM.LEFT,new State(fsm,`${BASE_PATH}`))
    this.stateMachines.set(DIRECTION_ENUM.RIGHT,new State(fsm,`${BASE_PATH}`))
  }
}
